package edu.sctu.xialei.May.day20150515two;

/**
 * Created by Administrator on 2015/5/15 0015.
 */
public class ToPrintPepoleOrDog implements ToPrint {

    @Override
    public void printing(String name, String color, float weight) {
        System.out.println("*****员工信息*****");
        System.out.println("姓名："+name+"  体重："+weight+"  肤色："+color);
    }

    @Override
    public void printing(String name, String color, float weight,String owner) {

        System.out.println("*****小狗信息*****");
        System.out.println("名字："+name+"  体重："+weight+"  毛色："+color+"  主人："+owner);
    }
}
